package com.jxdinfo.hussar.example.common.schedulingtask;

import lombok.AllArgsConstructor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
@AllArgsConstructor
public class MesToErpTask {
    private static final Logger logger = LoggerFactory.getLogger(MesToErpTask.class);

//    // 每 4分钟执行一次，将erp
//    @Scheduled(cron = "0/5 * * * * *")
//    public void task1() {
//        System.out.println("=========执行定时任务1============");
//
//
//    }

}
